Skip to content

ci: build multi-arch images via matrix and digest merge#928

Open
Arlind-dev wants to merge 1 commit into
beeequeue:mainfrom
Arlind-dev:ci/multi-arch
Open

ci: build multi-arch images via matrix and digest merge#928
Arlind-dev wants to merge 1 commit into
beeequeue:mainfrom
Arlind-dev:ci/multi-arch

Conversation

@Arlind-dev
Copy link
Copy Markdown

Summary

Currently ghcr.io/beeequeue/arm-server:latest is single-arch (arm64-only), because the build job runs on a single ubuntu-24.04-arm runner. Users on amd64 hosts get exec format error.

This PR splits the build into a matrix over linux/amd64 (on ubuntu-24.04) and linux/arm64 (on ubuntu-24.04-arm), each pushing by digest, then a build-merge job stitches the digests into one manifest list under the existing tags.

Depends on

#927 — without it test fails on current Fribb data and CI never reaches the build step.

Test plan

  • Verified on a fork (Arlind-dev/arm-server@c82fd45): both matrix legs produced their digests, build-merge published ghcr.io/arlind-dev/arm-server:<sha> as a multi-arch manifest covering linux/amd64 + linux/arm64. Image ran successfully on an amd64 host and served /api/v2/ids as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant